package com.whfc.fuum.param;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @ClasssName SysMachTypeClassifyEditParam
 * @Author hw
 * @Date 2020/8/25 10:59
 * @Version 1.0
 */
@Data
public class SysMachTypeClassifyEditParam implements Serializable {
    /**
     * 主键
     */
    @NotNull
    private Integer machTypeId;

    /**
     * 编码
     */
    @NotEmpty
    @Size(min = 1, max = 64, message = "编码最长为64位")
    private String code;
    /**
     * 名称
     */
    @NotEmpty
    private String name;
}
